<?php
interface IRadConnector {
    /**
     * Perform tasks before creating a radiology assignment
     *
     * @param array $data Data array
     */
	public function doAfterCreateAssignment($data);

    /**
	 * Perform tasks after creating a radiology assignment
	 *
	 * @param array $data Data array
	 */
    public function doBeforeCreateAssignment($data);

    /**
     * Perform tasks after finishing a radiology assignment
     *
     * @param unknown_type $data
     */
    public function doAfterFinishAssignment($itemId, $itemType, $data);

    /**
     * Perform tasks after deleting a radiology assignment
     *
     * @param int $itemId Radiology item Id
     * @param int $enumItemType Ticket item type
     */
    public function doAfterDeleteAssignment($itemId, $enumItemType);

    /**
     * Perform tasks after canceling a radiology assignment
     *
     * @param int $itemId Radiology item Id
     * @param int $enumItemType Ticket item type
     */
    public function doAfterCancelAssignment($itemId, $enumItemType);

     /**
     * Perform tasks after canceling a radiology assignment
     *
     * @param int $itemId Radiology item Id
     * @param int $enumItemType Ticket item type
     */
    public function doAfterStartAssignment($itemId, $enumItemType);
}
?>